﻿<Window x:Class="Flaxen.SlimDXControlLib.TriangleExample.Triangle"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d3d="clr-namespace:Flaxen.SlimDXControlLib;assembly=Flaxen.SlimDXControlLib"
    Title="Triangle Example" SizeToContent="WidthAndHeight">

    <StackPanel Orientation="Horizontal">
        <StackPanel Background="LightBlue" Margin="5">
            <CheckBox Click="Click1" IsThreeState="False" IsChecked="True" Content="1"/>
            <d3d:SlimDXControl x:Name="x_contentControl1" Width="120" Height="120"/>
        </StackPanel>
        <StackPanel Background="LightGreen" Margin="5">
            <CheckBox Click="Click2" IsThreeState="False" IsChecked="True" Content="2"/>
            <d3d:SlimDXControl x:Name="x_contentControl2" Width="80" Height="80"/>
        </StackPanel>
    </StackPanel>

</Window>
